.class public Lcom/baidu/mobads/vo/a/b;
.super Lcom/baidu/mobads/vo/a/a;
.source "SourceFile"


# instance fields
.field public o:Z

.field private p:Landroid/content/Context;

.field private q:Lcom/baidu/mobads/interfaces/download/activate/IXAppInfo;


# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/baidu/mobads/interfaces/download/activate/IXAppInfo;)V
    .locals 3

    .line 1
    invoke-interface {p2}, Lcom/baidu/mobads/interfaces/download/activate/IXAppInfo;->getAdId()Ljava/lang/String;

    move-result-object v0

    invoke-interface {p2}, Lcom/baidu/mobads/interfaces/download/activate/IXAppInfo;->getQk()Ljava/lang/String;

    move-result-object v1

    invoke-interface {p2}, Lcom/baidu/mobads/interfaces/download/activate/IXAppInfo;->getProd()Ljava/lang/String;

    move-result-object v2

    invoke-direct {p0, v0, v1, v2}, Lcom/baidu/mobads/vo/a/a;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    const/4 v0, 0x1

    .line 2
    iput-boolean v0, p0, Lcom/baidu/mobads/vo/a/b;->o:Z

    .line 3
    iput-object p1, p0, Lcom/baidu/mobads/vo/a/b;->p:Landroid/content/Context;

    .line 4
    iput-object p2, p0, Lcom/baidu/mobads/vo/a/b;->q:Lcom/baidu/mobads/interfaces/download/activate/IXAppInfo;

    return-void
.end method


# virtual methods
.method protected b()Ljava/util/HashMap;
    .locals 11
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    const-string v0, "1"

    const-string v1, "0"

    .line 1
    invoke-static {}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getInstance()Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;

    move-result-object v2

    invoke-virtual {v2}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getSystemUtils()Lcom/baidu/mobads/interfaces/utils/IXAdSystemUtils;

    move-result-object v2

    .line 2
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, ""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v5, p0, Lcom/baidu/mobads/vo/a/b;->p:Landroid/content/Context;

    invoke-interface {v2, v5}, Lcom/baidu/mobads/interfaces/utils/IXAdSystemUtils;->getCurrentProcessId(Landroid/content/Context;)I

    move-result v5

    invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    .line 3
    new-instance v5, Ljava/util/HashMap;

    invoke-direct {v5}, Ljava/util/HashMap;-><init>()V

    :try_start_0
    const-string v6, "autoOpen"

    .line 4
    iget-boolean v7, p0, Lcom/baidu/mobads/vo/a/b;->o:Z

    if-eqz v7, :cond_0

    const-string v7, "true"

    goto :goto_0

    :cond_0
    const-string v7, "false"

    :goto_0
    invoke-virtual {v5, v6, v7}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v6, "pk"

    .line 5
    iget-object v7, p0, Lcom/baidu/mobads/vo/a/b;->q:Lcom/baidu/mobads/interfaces/download/activate/IXAppInfo;

    invoke-interface {v7}, Lcom/baidu/mobads/interfaces/download/activate/IXAppInfo;->getPackageName()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v5, v6, v7}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v6, "c"

    .line 6
    invoke-virtual {v5, v6, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v6, "clickProcId"

    .line 7
    invoke-virtual {v5, v6, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v6, "clickTime"

    .line 8
    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v8, p0, Lcom/baidu/mobads/vo/a/b;->q:Lcom/baidu/mobads/interfaces/download/activate/IXAppInfo;

    invoke-interface {v8}, Lcom/baidu/mobads/interfaces/download/activate/IXAppInfo;->getClickTime()J

    move-result-wide v8

    invoke-virtual {v7, v8, v9}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    invoke-virtual {v7, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v5, v6, v7}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v6, "contentLength"

    .line 9
    new-instance v7, Ljava/lang/StringBuilder;

    invoke-direct {v7}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v7, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v8, p0, Lcom/baidu/mobads/vo/a/b;->q:Lcom/baidu/mobads/interfaces/download/activate/IXAppInfo;

    invoke-interface {v8}, Lcom/baidu/mobads/interfaces/download/activate/IXAppInfo;->getAppSize()J

    move-result-wide v8

    invoke-virtual {v7, v8, v9}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v5, v6, v7}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v6, "dlCnt"

    .line 10
    invoke-virtual {v5, v6, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v6, "dlTime"

    .line 11
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v7

    iget-object v9, p0, Lcom/baidu/mobads/vo/a/b;->q:Lcom/baidu/mobads/interfaces/download/activate/IXAppInfo;

    invoke-interface {v9}, Lcom/baidu/mobads/interfaces/download/activate/IXAppInfo;->getClickTime()J

    move-result-wide v9

    sub-long/2addr v7, v9

    invoke-static {v7, v8}, Ljava/lang/String;->valueOf(J)Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v5, v6, v7}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v6, "dlTunnel"

    const-string v7, "3"

    .line 12
    invoke-virtual {v5, v6, v7}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v6, "dlWay"

    .line 13
    iget-object v7, p0, Lcom/baidu/mobads/vo/a/b;->q:Lcom/baidu/mobads/interfaces/download/activate/IXAppInfo;

    invoke-interface {v7}, Lcom/baidu/mobads/interfaces/download/activate/IXAppInfo;->isTooLarge()Z

    move-result v7

    if-eqz v7, :cond_1

    goto :goto_1

    :cond_1
    move-object v0, v1

    :goto_1
    invoke-virtual {v5, v6, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v0, "exp_id"

    .line 14
    invoke-virtual {v5, v0, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v0, "exp2"

    .line 15
    invoke-virtual {v5, v0, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v0, "pkg"

    .line 16
    iget-object v1, p0, Lcom/baidu/mobads/vo/a/b;->q:Lcom/baidu/mobads/interfaces/download/activate/IXAppInfo;

    invoke-interface {v1}, Lcom/baidu/mobads/interfaces/download/activate/IXAppInfo;->getPackageName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v5, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v0, "typeProcId"

    .line 17
    invoke-virtual {v5, v0, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v0, "url2"

    .line 18
    invoke-virtual {v5, v0, v4}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string v0, "sn"

    .line 19
    iget-object v1, p0, Lcom/baidu/mobads/vo/a/b;->p:Landroid/content/Context;

    invoke-interface {v2, v1}, Lcom/baidu/mobads/interfaces/utils/IXAdSystemUtils;->getEncodedSN(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v5, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_2

    :catch_0
    move-exception v0

    .line 20
    invoke-static {}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getInstance()Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;

    move-result-object v1

    invoke-virtual {v1}, Lcom/baidu/mobads/utils/XAdSDKFoundationFacade;->getAdLogger()Lcom/baidu/mobads/interfaces/utils/IXAdLogger;

    move-result-object v1

    invoke-interface {v1, v0}, Lcom/baidu/mobads/interfaces/utils/IXAdLogger;->d(Ljava/lang/Throwable;)I

    :goto_2
    return-object v5
.end method
